<%--
  Created by IntelliJ IDEA.
  User: aven
  Date: 2023/11/30
  Time: 15:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>

    </title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user/add.do" method="post">
    用户名: <input type="text" name="username"><br>
    地址: <input type="text" name="address"><br>
    性别: <input type="text" name="sex"><br>
    <input type="submit" value="注册">
</form>
<br>
<form action="${pageContext.request.contextPath}/user/add1.do" method="post">
    用户名: <input type="text" name="user.username"><br>
    地址: <input type="text" name="user.address"><br>
    性别: <input type="text" name="user.sex"><br>
    <input type="submit" value="注册1">
</form>

<br>
<form action="${pageContext.request.contextPath}/user/add2.do" method="post">
    用户名0: <input type="text" name="userList[0].username"><br>
    地址0: <input type="text" name="userList[0].address"><br>
    性别0: <input type="text" name="userList[0].sex"><br>
    用户名1: <input type="text" name="userList[1].username"><br>
    地址1: <input type="text" name="userList[1].address"><br>
    性别1: <input type="text" name="userList[1].sex"><br>
    <input type="submit" value="注册2">
</form>
</body>
</html>
